/* 简洁风格的Markdown主题 */
.markdown-body.clean {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  padding: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.markdown-body.clean h1,
.markdown-body.clean h2,
.markdown-body.clean h3,
.markdown-body.clean h4,
.markdown-body.clean h5,
.markdown-body.clean h6 {
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 1em;
  color: #000;
}

.markdown-body.clean h1 {
  font-size: 1.8em;
  line-height: 1.3;
  margin-top: 0.8em;
}

.markdown-body.clean h2 {
  font-size: 1.5em;
  line-height: 1.4;
}

.markdown-body.clean h3 {
  font-size: 1.3em;
}

.markdown-body.clean h4 {
  font-size: 1.1em;
}

.markdown-body.clean p {
  margin-bottom: 1.2em;
  font-size: 1em;
}

.markdown-body.clean a {
  color: #0366d6;
  text-decoration: none;
}

.markdown-body.clean a:hover {
  text-decoration: underline;
}

.markdown-body.clean blockquote {
  margin: 1em 0;
  padding: 0 1em;
  color: #6a737d;
  border-left: 3px solid #dfe2e5;
}

.markdown-body.clean code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  background-color: rgba(0, 0, 0, 0.04);
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-size: 0.9em;
}

.markdown-body.clean pre {
  background-color: #f6f8fa;
  padding: 16px;
  border-radius: 3px;
  overflow-x: auto;
  margin: 1em 0;
}

.markdown-body.clean pre code {
  background-color: transparent;
  padding: 0;
}

.markdown-body.clean img {
  max-width: 100%;
  margin: 1em auto;
  display: block;
}

.markdown-body.clean hr {
  border: none;
  border-top: 1px solid #eaecef;
  margin: 1.5em 0;
}

.markdown-body.clean ul,
.markdown-body.clean ol {
  margin-bottom: 1em;
  padding-left: 2em;
}

.markdown-body.clean li {
  margin-bottom: 0.3em;
}

.markdown-body.clean table {
  border-collapse: collapse;
  width: 100%;
  margin: 1em 0;
  border: 1px solid #eaecef;
}

.markdown-body.clean table th,
.markdown-body.clean table td {
  border: 1px solid #eaecef;
  padding: 6px 13px;
  text-align: left;
}

.markdown-body.clean table th {
  background-color: #f6f8fa;
  font-weight: 600;
}

.markdown-body.clean table tr:nth-child(even) {
  background-color: #f6f8fa;
}

/* 简洁主题特有的样式 */
.markdown-body.clean * {
  box-sizing: border-box;
}

.markdown-body.clean *:first-child {
  margin-top: 0;
}

.markdown-body.clean *:last-child {
  margin-bottom: 0;
} 